Congratulations. You've reached the end of
the second module in this course. You should now be familiar with how to
perform queries in a MySQL database using Python. Let's take a few moments to recap some of
the key skills that you've gained in this modules lessons. In the first lesson,
you learned how to perform, create, read, update and delete or CRUD operations
in a MySQL database using python. You started this lesson with
a recap of how to create data in a MySQL database using
an insert statement. You then learned how data is inserted
into a MySQL database using Python. First it's created as
a Python string argument. This argument is then passed to
a MySQL database using a connector. The connector parses it into
a format that MySQL can understand. You then explored an example of the syntax
used to render a MySQL database query as a Python string argument. And you explored
an example of creating and reading data using python from
the Little Lemon database. Next, you recapped how to delete and update records in a MySQL database
using update and delete operations. You learned how to create these queries
as Python string arguments and explored some examples from
the Little Lemon database. You then undertook a series of lab
exercises, in which you received the opportunity to perform CRUD operations
in your own MySQL database using Python. And you tested your knowledge of these
topics by completing several quizzes. In the second lesson of this module, you learned how to perform advanced
queries in a MySQL database using Python. You began the lesson by
learning how to filter and sort records in MySQL using Python. You recapped the basic filtering and sorting techniques that you
learned in other courses. These include the use of the WHERE clause,
to satisfy one or more specific conditions. Utilizing the order by clause to sort
data in ascending or descending order and the inclusion of comparison operators
to specify the exact data required. You then discovered how these techniques
are used in python by exploring several examples from
the Little Lemon database. The next part of this lesson focused on
joining data from different tables in a MySQL database using Python. You recapped the basics
of the joint clause and how it can be used to target a common
column between two target tables. You then learned how join can be used
with python to extract data from a MySQL database. A SQL query is created using
JOIN as a Python string. The string is executed using the execute
module on the cursor object. The results are then retrieved from
the MySQL database using another variable that satisfies the queries conditions,
and the fetch all method. You also explored an example of this
process from the Little Lemon database. And just like the first lesson,
you also completed a lab exercise. In this lab exercise, you performed
a JOIN operation using python to extract data from a MySQL database. You then tested your knowledge
of the process in a quiz. You should now be equipped
with the skills and knowledge required to perform queries
in a MYSQL database using Python. Well done, I look forward to guiding
you through the next module, in which you will explore the topic
of advanced Database Clients.